package com.study.model.pojo.PSIpojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the sale_detail database table.
 * 
 */
@Entity
@Table(name="sale_detail")
@NamedQuery(name="SaleDetail.findAll", query="SELECT s FROM SaleDetail s")
public class SaleDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int saledetailid;

	private String goodsid;

	private String remark;

	private int salenum;

	private String saleorderid;

	private BigDecimal saleprice;

	private int salestate;

	private BigDecimal saletotal;

	public SaleDetail() {
	}

	public int getSaledetailid() {
		return this.saledetailid;
	}

	public void setSaledetailid(int saledetailid) {
		this.saledetailid = saledetailid;
	}

	public String getGoodsid() {
		return this.goodsid;
	}

	public void setGoodsid(String goodsid) {
		this.goodsid = goodsid;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getSalenum() {
		return this.salenum;
	}

	public void setSalenum(int salenum) {
		this.salenum = salenum;
	}

	public String getSaleorderid() {
		return this.saleorderid;
	}

	public void setSaleorderid(String saleorderid) {
		this.saleorderid = saleorderid;
	}

	public BigDecimal getSaleprice() {
		return this.saleprice;
	}

	public void setSaleprice(BigDecimal saleprice) {
		this.saleprice = saleprice;
	}

	public int getSalestate() {
		return this.salestate;
	}

	public void setSalestate(int salestate) {
		this.salestate = salestate;
	}

	public BigDecimal getSaletotal() {
		return this.saletotal;
	}

	public void setSaletotal(BigDecimal saletotal) {
		this.saletotal = saletotal;
	}

}